package org.dromara.system.domain.bo;


import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.dromara.system.domain.SysFaultInfoEn;

/**
 * English Fault Information Business Object sys_fault_info_en
 *
 * @author system
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysFaultInfoEn.class,  reverseConvertGenerate = false)
public class SysFaultInfoEnBo extends BaseEntity {

    /**
     * Fault ID
     */
    @NotNull(message = "Fault ID cannot be empty", groups = { EditGroup.class })
    private Long faultId;

    /**
     * Excavator Model
     */
    @NotBlank(message = "Excavator model cannot be empty", groups = { AddGroup.class, EditGroup.class })
    private String excavatorModel;

    /**
     * Fault Part
     */
    @NotBlank(message = "Fault part cannot be empty", groups = { AddGroup.class, EditGroup.class })
    private String faultPart;

    /**
     * Fault Symptom
     */
    @NotBlank(message = "Fault symptom cannot be empty", groups = { AddGroup.class, EditGroup.class })
    private String faultSymptom;

    /**
     * Detailed Fault Description
     */
    @NotBlank(message = "Fault detail cannot be empty", groups = { AddGroup.class, EditGroup.class })
    private String faultDetail;

    /**
     * Solution Document ID
     */
    private Long solutionId;

    /**
     * Remark
     */
    private String remark;
}

